<?php
namespace app\admin\services;
use app\common\services\BaseService;

class GameService extends BaseService
{

    public function __construct()
    {
        $viewName = '(select g.*,gt.title type_name from game g inner join game_type gt on gt.id=g.type_id) t';
        parent::__construct('',$viewName);
    }
}